package com.aos.erp.manager.service.sys;

import com.aos.erp.common.exception.BizException;
import com.aos.erp.manager.model.sys.Role;
import com.aos.erp.manager.remote.model.SynRole;

import java.util.List;

/**
 * @program: erp
 * @description: 机构角色
 * @author: tanzhiyu
 * @create: 2018-11-23 10:16
 **/
public interface RoleService {
    List<Role> findByName(String name)  throws BizException;

    int updateObject(Role role);

    Long insertObject(Role role);

    void addObject(SynRole synRole);
}
